<template>
  <div :class="['status-wrap', type]">
    <slot>你好胖</slot>
  </div>
</template>

<script setup>
  defineProps({
    type: { type: String, default: '' }
  })
</script>

<style lang="scss" scoped>
.status-wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  min-width: 52px;
  height: 20px;
  background: #ccc;
  color: #424242;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;

  &.complete {
  background: #ddffec;
  color: #2ed5aa;
  }

  &.not-complete {
     background: #ddeeff;
    color: #409eff;
  }
}
</style>